<%@ page import="com.xiaoliu.util.Constant" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>欢迎光临小刘的笔记</title>
    <link rel="stylesheet" href="../css/mainStyle.css">

    <link href="../img/vip.png" rel="shortcut icon" type="image/png" />

    <style>
        body {
            background-color: #E9FAFF;
            color: #555;
            font-size: 20px;
            margin: 0 auto;
        }
    </style>


</head>
<body>

<%--

<%
    Object userSession = request.getSession().getAttribute(Constant.USER_SESSION);
    if (userSession == null){
        response.sendRedirect("/Login.jsp");
    }
%>

--%>


<div class="wrap">
    <!--头部-->
    <header class="nav-header">
        <div class="head-contain">
            <a href="" class="top-log"><img src="../img/vip.png" width="145" height="90"/></a>
            <nav class="top-nav">
                <ul>
                    <li><a href="vip1/vip1-3.jsp">VipLevel</a></li>
                    <li><a href="vip1/vipGamePrivilege.jsp">游戏特权</a></li>
                    <li><a href="vip1/vipLifePrivilege.jsp">生活特权</a></li>
                    <li><a href="vip1/vipMembershipEvents.jsp">会员活动</a></li>
                    <li><a href="vip1/vipGrowthSystem.jsp">成长体系</a></li>
                    <li><a href="vip1/AnnualFeeZone.jsp">年费专区</a></li>
                    <li><a href="vip1/vipSuper.jsp">超级会员</a></li>
                </ul>
            </nav>
            <div class="top-right">
                <a href="../Login.jsp">登录</a>
                <a href="vip2/OpenedSuperVip.jsp">开通超级会员</a>
            </div>
        </div>
    </header>
</div>

<a href="../book/20240613/index.html">
    <img src="../img/b.png" alt="">
    小刘的笔记
</a>

















<form style="padding-bottom: 10px;">
    <fieldset>
        <legend>搜索</legend>
        文章名称：<input type="text" name="name" id="">
        <input type="submit" value="搜索">
    </fieldset>
</form>
<table border="1" style="width: 100%;">
    <tr style="text-align: center; background-color:#ffaa00;">
        <th>编号</th>
        <th>名称</th>
        <th>类型</th>
        <th>上传时间</th>
        <th>操作</th>
    </tr>
    <c:forEach items="${list}" var="Source">
        <tr>
            <td>${Source.id }</td>
            <td>${Source.name }</td>
            <td>${Source.type }</td>
            <td>${Source.uploadDate }</td>
            <td>
                <a href="../Source/SourceServlet?action=del&id=${Source.id}"
                   onclick="return confirm('您确定删除该人员信息')">删除</a>
                <a href="../Source/SourceServlet?action=Modifysel&id=${Source.id}">修改</a>
            </td>
        </tr>
    </c:forEach>
</table>
<div style="float: right;">
    <a href="../add.jsp">新增</a>
    <span>共
			<c:out value="${list.size()}"/>
			条数据
    </span>
</div>

<a href="../ShoppingCartLogin.jsp">
    购物车
</a>














<a href="/servlet/loginOut">注销</a>



</body>
</html>
